import sys
import pygame
pygame.init()
s=pygame.display.set_mode((1000,600))
# name=["bg","for","list","random","function","box","lose","win","m0","m1"]
# k=[]
# for i in name:
#     p = pygame.image.load("images/%s.png" % (i))
#     k.append(p)
# s.blit(k[0],(0,0))
pygame.display.update()

pygame.mouse.set_cursor(pygame.SYSTEM_CURSOR_HAND)
while 1:
    for e in pygame.event.get():

        if e.type==pygame.QUIT:
            sys.exit()

        if e.type == pygame.MOUSEMOTION:
            x = e.pos[0]
            y = e.pos[1]
            print("x坐标%d,y坐标%d" % (x, y))
